#ifndef _UUID_H_
#define _UUID_H_

#include <string>
#include <Core/Reflect.h>

namespace Engine2D
{
    class Uuid
    {
        REF_ENABLE
    public:
        Uuid();
        Uuid(const std::string & str);
        virtual ~Uuid() = default;
        const std::string & operator() () { return m_uuid; }
        const bool operator== (const Uuid & that) { return m_uuid == that.m_uuid; }
    private:
        std::string m_uuid; 
    };
    REF_REGISTER_CLASS(Uuid, 
        REF_REGISTER_FIELD(Uuid, m_uuid)
    )
} // namespace Engine2D


#endif